Using DOORS 8.3, I am trying to run through about 60 modules and delete the links then re-create them but after deleting the links I am unable to save the module. After the code below is run the links are deleted but the changes are not saved, when I change edit mode I am asked if I want to save the module, if I don't then the links are not deleted. All variable are declared globally as they are used by other functions. If the close is also used (currently commented out) then the module is closed without any changes being saved. I think I am missing something obvious but am at a loss to spot it at the moment, can anyone help? |
Re: Unable to save module
Hmm ... I would suggest
for L in obj->"*" do { delete L } // the delete alters the links, so the loop gets confused. ouch!
Skip sk = create(); for L in obj->"*" do put(sk, L, L) for L in sk do delete L delete sk; sk = null
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: Unable to save module Mathias Mamsch - Wed Aug 18 08:04:40 EDT 2010
Hmm ... I would suggest
for L in obj->"*" do { delete L } // the delete alters the links, so the loop gets confused. ouch!
Skip sk = create(); for L in obj->"*" do put(sk, L, L) for L in sk do delete L delete sk; sk = null
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|